home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 August / Software of the Month Club 1996 August.iso / mac / Desktop Publishing / HTML Voc 1.3 / HTML Vocabulary 1.3 / HTML Vocabulary 1.3.rsrc / TEXT_2000_Tables.txt < prev    next >
Encoding:
Text File  |  1996-05-29  |  2.0 KB  |  64 lines

  1.  
  2.  Tables    
  3.  
  4.  <TABLE [BORDER=n] [CELLSPACING=n] [CELLPADDING=n]
  5.  [WIDTH=n|n%]>
  6.  Start tag of a table. Must end with the </TABLE> tag.
  7.  The following parameters are allowed:
  8.  
  9.  BORDER=n
  10.  Gives the table a 3D-look. n is the width of the border
  11.  in dots.
  12.  
  13.  CELLSPACING=n
  14.  Sets the space between cells in dots.
  15.  
  16.  CELLPADDING=n
  17.  Sets the space between the contains of the cells to the
  18.  cells border.
  19.  
  20.  WIDTH=n|n%
  21.  Sets the width of the table in dots or in percent of the
  22.  page.
  23.  
  24.  BGCOLOR=rrggbb|color
  25.  Defines the background color of the table. Read the
  26.  'Text styles'chapter for more. Internet Explorer tag.
  27.  
  28.  BORDERCOLOR=rrggbb|color
  29.  Defines the border color of the table. Read the
  30.  'Text styles'chapter for more. Internet Explorer tag.
  31.  
  32.  BORDERCOLORLIGHT=rrggbb|color
  33.  Defines the light shadow color of the table. Read the
  34.  'Text styles'chapter for more. Internet Explorer tag.
  35.  
  36.  BORDERCOLORDARK=rrggbb|color
  37.  Defines the dark shadow color of the table. Read the
  38.  'Text styles'chapter for more. Internet Explorer tag.
  39.  
  40.  Table tags    
  41.  
  42.  <CAPTION [ALIGN=TOP|BOTTOM]>text</CAPTION>
  43.  "text" will be the tables header. Use this tag inside the
  44.  <TABLE> tag, but not within lines. You can show the
  45.  header over or under the TABLE by setting ALIGN to TOP
  46.  resp. BOTTOM.
  47.  
  48.  <TR [ALIGN=LEFT|CENTER|RIGHT] [VALIGN=TOP|MIDDLE|BOTTOM|
  49.  BASELINE]>
  50.  Start a new line in the table. ALIGN sets the horizontal
  51.  adjusments for the lines text and VALIGN the vertical
  52.  adjustment. Must end with </TR>
  53.  
  54.  <TD|TH [ALIGN=LEFT|CENTER|RIGHT] [VALIGN=TOP|MIDDLE|BOTTOM
  55.  |BASELINE] [NOWRAP] [COLSPAN=N] [ROWSPAN=N] [WIDTH=N]>
  56.  TD and TH insert a new cell. TH stands for 'table header'
  57.  and shows up the contents of the cell in bold. ALIGN
  58.  sets the adjustments of the text. NOWRAP prevents the
  59.  browser from wrapping the cell contents. COLSPAN can be
  60.  used to let the cell go over more than one column. Normal
  61.  is 1. ROWSPAN is the same thing, but let the cell go over
  62.  more than one line. Normal settings is 1. WIDTH sets the
  63.  width of the cell. Must end with </TD>
  64.